<%@page import="com.oa.domain.Message"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
  <head>
    <title>OA办公自动化系统主界面</title>
    <style type="text/css">
    	*{
    		padding:0px;
    		margin:0px;
    	}
    	#mainDiv{
    		width:1200px;
    		height:700px;
    		margin:0 auto;
    	}
    	#showMessageDiv{
    		display:none;
    		position:absolute;
    		width:300px;
    		height:200px;
    		right:0px;
    		bottom:0px;
    		border:1px solid blue;
    		background-color:white;
    	}
    	#up{
    		margin-left:250px;
    		font-size:15px;
    		font-family:"微软雅黑";
    	}
    	#m{
    		margin-left:30px;
    		margin-top:20px;
    		font-family:"微软雅黑";
    		font-size:20px;
    	}
    </style>
    <script type="text/javascript" src="jQuery/jquery-1.9.1.js"></script>
  </head>
  <body>
  <script type="text/javascript">
  	$(function(){
  		$("#showMessageDiv").slideDown(1000);
  		$("#up").click(function(){
  			$("#showMessageDiv").slideUp(1000);
  		});
  	});
  </script>
  	<div id="mainDiv">
    	<iframe frameborder="0" style="width:1200px;height:80px;" src="MainJSP/logo.jsp" scrolling="no"></iframe>
    	<iframe name="left" frameborder="0" style="width:200px;height:610px;float:left;" src="MainJSP/left.jsp" scrolling="no"></iframe>
  		<iframe name="right" frameborder="0" style="width:1000px;height:610px;float:left" src="MainJSP/right.jsp" scrolling="no"></iframe>
  	</div>
  	<c:if test="${listMessage!=null }">
  	<div id="showMessageDiv">
  		<label id="up">收起</label><br/>
  		<label id="m">
  		<c:forEach items="${listMessage }" var="message">
  			${message.mcontent }<br/>
  		</c:forEach>
  		</label>
  	</div>
  	</c:if>
  </body>
</html>
